package com.hioove.test.config;

import com.hioove.core.filter.annotation.Filter;
import com.hioove.core.filter.FilterChain;
import com.hioove.core.filter.IFilter;
import com.hioove.core.web.model.WebRequest;
import com.hioove.core.web.model.WebResponse;

@Filter
public class AuthorityFilter implements IFilter {
    @Override
    public void doFilter(WebRequest req, WebResponse resp, FilterChain chain) throws RuntimeException {
        System.out.println(Thread.currentThread().getName()+" 1111");
        chain.doFilter(req, resp,chain);
        System.out.println(Thread.currentThread().getName()+" 1111");
    }
}
